package com.example.mdc.logback.design_pattern.singleton;

/**
 * Author:      liu_pc
 * Date:        2023/8/15
 * Description: 单例枚举
 * Version:     1.0
 */
public enum SingletenEnum {

    INSTANCE;

    // 添加其他成员变量和方法

    public void doSomething() {
        // 单例实例的操作
    }

    public static void main(String[] args) {
        SingletenEnum.INSTANCE.doSomething();
    }
}
